function history(targetURL) {
    var isSkip = document.getElementById("isSkipFlag").value;
    //alert(isSkip);
    if (isSkip=='true'){
        return;
    };
    var xmlHttp;
    try
      {
      // Firefox, Opera 8.0+, Safari
      xmlHttp=new XMLHttpRequest();
      }
    catch (e)
      {
      // Internet Explorer
      try
        {
        xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
      catch (e)
        {
        try
          {
          xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
          }
        catch (e)
          {
          alert("Your browser does not support AJAX!");
          return false;
          }
        }
      }
      xmlHttp.onreadystatechange=function()
        {
        if(xmlHttp.readyState==4)
          {
          //document.myForm.time.value=xmlHttp.responseText;
          }
        }
      xmlHttp.open("GET",targetURL,true);

      xmlHttp.send(null);
      alert('Are you already to close window');

}

function showDiv(eId) {
    var hideId = document.getElementById('divShowId').value;
    //alert(hideId);
    if (hideId!=''){
        document.getElementById(hideId).style.display = 'none';
    };
    document.getElementById(eId).style.display = '';
    document.getElementById('divShowId').value=eId;

    if (document.getElementById) { // DOM3 = IE5, NS6
        //document.getElementById(eId).style.visibility = 'visible';
        document.getElementById(eId).style.display = '';
    }
}
